

import time
import datetime
print(datetime.datetime.now())
a = datetime.datetime.strptime('2019-3-29', '%Y-%m-%d')
b = datetime.datetime.strptime('2019-4-3', '%Y-%m-%d')

print(a)
print(b)
print(b-a)
print((b-a).days, type((b-a).days))
print(a + datetime.timedelta(days=-1))
